package com.hanqi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hanqi.dao.SysFuncsMapper;
import com.hanqi.entity.SysFuncs;
import com.hanqi.service.SysFuncsService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author zjk
 * @since 2019-04-27
 */
@Service
public class SysFuncsServiceImpl extends ServiceImpl<SysFuncsMapper, SysFuncs> implements SysFuncsService {

    @Override
    public List<SysFuncs> currentBtns(String menuId) {
        return baseMapper.currentBtns(menuId);
    }

    @Override
    public List<SysFuncs> allBtns(String menuId) {
        return baseMapper.allBtns(menuId);
    }
}
